package zjitc.service;

import zjitc.po.Admin;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/12 16:54
 * @description:
 */
public interface AdminService {

    Admin login(String username, String password);


    int addAdmin(Admin admin);

  Admin findByCode(String code);

  int update(Admin admin);

    Admin findByUsername(String username);
}
